cd /etc/kubernetes
find . -type f | xargs sed -i "s/10.0.0.6/172.172.9.131/g"

cd $HOME/.kube/
find . -type f | xargs sed -i "s/10.0.0.6/172.172.9.131/g"

cd $HOME/.kube/cache/discovery/
ls
#lb.kubesphere.local_6443
#将目录名称改成当前名称，加端口，域名无需修改

cd /etc/kubernetes/pki

service docker start 
docker rm `docker ps -a|grep Exited|awk '{print $1}'`
service kubelet start